class CreateService < ActiveRecord::Migration
  def change
    create_table :services do |t|
      t.string :name
      t.string :skills
      t.string :gender
      t.string :age
      t.string :hometown
      t.integer :creator_id

      t.timestamps null: false
    end

    add_index :services, :skills
    add_index :services, :gender
    add_index :services, :creator_id
  end
end
